package com.hzit.loan.pay.iClient.impl;

import com.hzit.loan.pay.commonApi.resp.PayNotifyData;
import com.hzit.loan.pay.commonApi.resp.PayResultData;
import com.hzit.loan.pay.commonApi.resp.RespVo;
import com.hzit.loan.pay.commonApi.resp.TradeCloseRespData;
import com.hzit.loan.pay.iClient.IAlipayFrontClient;
import org.springframework.stereotype.Component;

/**
 * 支付宝前置服务熔断
 */
@Component
public class AlipayFrontClientImpl  implements IAlipayFrontClient {


    @Override
    public RespVo<PayResultData> qrCodePay(String subject, String paySeiralNo, String mchOrderAmt) {
        return RespVo.getFailReturn("调用前置服务失败");
    }

    @Override
    public RespVo<PayNotifyData> payQuery(String paySeiralNo) {
        return RespVo.getFailReturn("调用前置服务失败");
    }

    @Override
    public RespVo<TradeCloseRespData> tradeClose(String paySeiralNo) {
        return RespVo.getFailReturn("调用前置服务失败");
    }


}
